package com.codechuan.demo.thread;

import com.codechuan.demo.common.Constant;

/**
 * @Deprecated 核心线程
 */
public class MainThread implements Runnable {
    @Override
    public void run() {
        SynContainer synContainer = new SynContainer();

        Constant.executorService.execute(new RobOrderThread(synContainer));
        Constant.executorService.execute(new ObtainOrderThread(synContainer));
        Constant.executorService.execute(new CheckJDThread());

    }
}
